<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="columns pull-left">
							<button title="只能添加黑名单，白名单数据来源于订单" type="button" class="btn  btn-primary" onclick="add()">
								<i class="fa fa-plus" aria-hidden="true"></i>黑名单
							</button>
						</div>

						<div class="columns pull-right">
							<button class="btn btn-success" style="margin-top:-1px" onclick="reLoad()">查询</button>
							<button class="btn btn-warning" onclick="clearLoad()">清空</button>
						</div>
						<div class="columns pull-right col-md-1 nopadding" style="width:120px">
							<input id="searchName" type="text" class="form-control"
								placeholder="请输入车牌号">
						</div>
						<div class="columns pull-right col-md-3 ">
							<button title="查询区间：检索出名单起始时间和结束时间都在此区间内的结果。默认查询前5年到后20年区间数据" type="button" class="btn btn-info pull-right" id="daterange-btn">
								<i class="fa fa-calendar"></i>
								<span></span>
								<i class="fa fa-caret-down"></i>
							</button>
						</div>
						<div class="columns pull-right nopadding" style="margin-right:0px">
							<button class="btn btn-success" style="margin-top:-1px" onclick="choose()">选择小区</button>
						</div>
						<div class="columns pull-right col-md-2 nopadding ">
							<input id="communityName" type="text" readonly class="form-control"
								   placeholder="请选择小区">
							 <input id="communityId" type="hidden" value=""/>
						</div>
						<div class="columns pull-right" style="margin-right:15px;width:150px">
							<select  id="type_slt" class="selectpicker show-tick form-control" >
								<option value="" >全部名单</option>
								<option value="0">白名单</option>
								<option value="1">黑名单</option>
							</select>
						</div>
					</div>
					<table id="exampleTable" data-mobile-responsive="true">
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
		<div>
			<script type="text/javascript">
				var s_edit_h = 'hidden';
				var s_remove_h = 'hidden';
				var s_resetPwd_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="car:carPriceRule:edit">
			<script type="text/javascript">
				s_edit_h = '';
			</script>
		</div>
		<div shiro:hasPermission="car:carPriceRule:remove">
			<script type="text/javascript">
				var s_remove_h = '';
			</script>
		</div>
		<div shiro:hasPermission="car:carPriceRule:resetPwd">
			<script type="text/javascript">
				var s_resetPwd_h = '';
			</script>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/car/black/black.js"></script>
</body>
</html>